package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.mapper.EmployeeLoginUserMapper;
import com.ruoyi.system.service.IEmployeeLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeLoginServiceImpl implements IEmployeeLoginService {

    @Autowired
    private EmployeeLoginUserMapper employeeUserMapper;



    @Override
    public SysUser selectEmployeeByPhone(String phone) {
        return employeeUserMapper.selectEmployeeByPhone(phone);
    }
}
